package com.aeasycredit.credit.tuef.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.aeasycredit.credit.tuef.dao.TuefAddressDao;
import com.aeasycredit.credit.tuef.model.TuefAddress;
import com.aeasycredit.credit.tuef.service.TuefAddressService;

@Service
public class TuefAddressServiceImpl implements TuefAddressService {
    
    @Autowired
    private TuefAddressDao tuefAddressDao;

    @Override
    public List<TuefAddress> getListByTuefBasicId(String tuefBasicId) {
        Map<String, Object> params = new HashMap<>();
        params.put("tuefBasicId", tuefBasicId);
        return tuefAddressDao.queryTuefAddressList(params);
    }
}
